CREATE SEQUENCE seq_2225 INCREMENT BY 6 MINVALUE 5 MAXVALUE 10;
GO

CREATE SEQUENCE seq_2225 INCREMENT BY 6 MINVALUE 5 MAXVALUE 11;
GO

ALTER SEQUENCE seq_2225 MAXVALUE 10;
GO

ALTER SEQUENCE seq_2225 INCREMENT BY 7;
GO

DROP SEQUENCE seq_2225;
GO

-- Test with extreme values
CREATE SEQUENCE seq_2225 INCREMENT BY -9223372036854775808 MINVALUE 0 MAXVALUE 9223372036854775807;
GO

CREATE SEQUENCE seq_2225 INCREMENT BY -9223372036854775808 MINVALUE -9223372036854775808 MAXVALUE 9223372036854775807;
GO

DROP SEQUENCE seq_2225;
GO
